// 患者详细信息
import { defineStore } from 'pinia'
import { ref } from 'vue'
import type { PatientFile } from '@/types/docter/medical'

export const usePersonMedicalStore = defineStore('medical', () => {
  const selectedMedical = ref<PatientFile>()

  const changeSelectedMedical = (val: PatientFile) => {
    selectedMedical.value = val
  }

  return {
    selectedMedical,
    changeSelectedMedical,
  }
})
